﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CRMWeb;
using CRMWeb.Utilities.Context;

namespace CRMWeb.Pages.Admin
{
    public partial class SMSTemplate : CRMWeb.Utilities.BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            if (CMSContext.CurrentRoles.Count == 0)
            {
                hdnSmsRole.Value = "MF";
            }
            else
            {
                hdnSmsRole.Value = CMSContext.CurrentRoles[0].MemberGroupName;
            }
        }
    }
}